#!/bin/sh

set -o errexit

if [ "$(balena images -q $SUPERVISOR_IMAGE 2> /dev/null)" = "" ]; then
    exit 1
fi
